getTranslationX

open fun getTranslationX(view: View): Float(source)

Deprecated

Use getTranslationX directly.

The horizontal location of this view relative to its left position. This position is post-layout, in addition to wherever the object's layout placed it.

Return

The horizontal position of this view relative to its left position, in pixels.